﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Tradex.Trading {

    /// <summary>
    /// This enumeration contains the various order durations that the Tradex system recognized.
    /// </summary>
    [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1028")]
    public enum OrderDuration : byte {

        /// <summary>
        /// The order is good till the end of the trading day.
        /// </summary>
        EndOfDay,

        /// <summary>
        /// The order is good until cancelled.
        /// </summary>
        GoodTillCancel,

        /// <summary>
        /// The order requires instand filling or is cancelled.
        /// </summary>
        InstantOrCanceled

    }

}
